<h1>Listing upcategories</h1>

<table>
  <tr>
    <th>Name</th>
  </tr>

<% for upcategory in @upcategories %>
  <tr>
    <td><%=h upcategory.name %></td>
    <td><%= link_to 'Show', upcategory %></td>
    <td><%= link_to 'Edit', edit_upcategory_path(upcategory) %></td>
    <td><%= link_to 'Destroy', upcategory, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New upcategory', new_upcategory_path %>
